100
|
How can I remove a bookmark
Edit1->Bookmark[2] = true;
Edit1->Bookmark[2] = false;
Edit1->BookmarkWidth = 16;
|
99
|
How can I remove all bookmarks
Edit1->Bookmark[2] = true;
Edit1->Bookmark[4] = true;
Edit1->BookmarkWidth = 16;
Edit1->ClearBookmarks();
|
98
|
How can I add a bookmark
![](images/exeditq98.png)
Edit1->Bookmark[2] = true;
Edit1->Bookmark[4] = true;
Edit1->BookmarkWidth = 16;
|
97
|
How can I change the format to display the numbers
![](images/exeditq97.png)
Edit1->FormatNumbers = L"<b><fgcolor=FF0000> </fgcolor></b>";
Edit1->InsertText(L"Just numbers: 12 22\\r\\n",TVariant(1));
|
96
|
Is there any option to change the color for the line that displays the cursor or the caret
![](images/exeditq96.png)
Edit1->BackColorCaretLine = RGB(255,0,0);
|
95
|
Can I display the lines using an alternate color
![](images/exeditq95.png)
Edit1->BackColorAlternate = RGB(255,0,0);
|
94
|
How can I disable or enable displaying the Replace dialog
Edit1->AllowReplace = false;
|
93
|
Does your control support incrementasl search
![](images/exeditq93.png)
Edit1->AllowIncrementalSearch = true;
|
92
|
How can I programmatically find or search for a word only
Edit1->HideSelection = false;
Edit1->Find(L"IDD_DIALOG_INSTALL",Exeditlib_tlb::FindOptionEnum::exMatchWholeWordOnly);
|
91
|
How can I programmatically find or search for a string
![](images/exeditq91.png)
Edit1->HideSelection = false;
Edit1->Find(L"public",Exeditlib_tlb::FindOptionEnum::exSearchDown);
|
90
|
How can I disable or enabled the Find dialog
Edit1->AllowFind = false;
|
89
|
How can I enable my button as the control can perform an REDO operation
![](images/exeditq89.png)
bool var_CanRedo = Edit1->CanRedo;
|
88
|
How can I enable my button as the control can perform an UNDO operation
bool var_CanUndo = Edit1->CanUndo;
|
87
|
How can I disable or enable the undo-redo feature
![](images/exeditq87.png)
Edit1->AllowUndoRedo = false;
|
86
|
How can I change the color for the border where the line numbers are displayed
![](images/exeditq86.png)
Edit1->LineNumberForeColor = RGB(255,0,0);
Edit1->LineNumberBackColor = RGB(0,0,255);
Edit1->LineNumberWidth = 32;
|
85
|
How can I change the color of the bookmark border
![](images/exeditq85.png)
Edit1->BookMarkBackColor = RGB(255,0,0);
Edit1->BookMarkBackColor2 = RGB(255,0,0);
Edit1->BookmarkWidth = 16;
|
84
|
How can I refresh the control
![](images/exeditq84.png)
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
|
83
|
How can I change the size of the tabs characters
![](images/exeditq83.png)
Edit1->TabLength = 8;
|
82
|
I've seen that if I press CTRL + ( I get the matching braket. How can I extend this
Edit1->OpenBrackets = L"<";
Edit1->CloseBrackets = L">";
|
81
|
How can I hide the selection
Edit1->DisplaySelection = false;
|
80
|
How can I display both scroll bars
![](images/exeditq80.png)
Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exBoth;
|
79
|
How can I display only the vertical scroll bar
![](images/exeditq79.png)
Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exVertical;
|
78
|
How can I display only the horizontal scroll bar
![](images/exeditq78.png)
Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exHorizontal;
|
77
|
How can I hide the control's scroll bars
![](images/exeditq77.png)
Edit1->ScrollBars = Exeditlib_tlb::ScrollBarsEnum::exNoScroll;
|
76
|
How can I insert at specified position a new line
![](images/exeditq76.png)
Edit1->InsertText(L"newline\\r\\n",TVariant(2));
Edit1->BackColorLine[2] = RGB(255,0,0);
|
75
|
How can I remove or delete all lines
|
74
|
How can I remove or delete a line
![](images/exeditq74.png)
Edit1->DeleteLine(1);
|
73
|
How do I change the character where the caret or the cursor is displayed
|
72
|
How do I change the line where the caret or the cursor is displayed
|
71
|
How do I replace a line
![](images/exeditq71.png)
Edit1->TextLine[1] = L"new line";
|
70
|
How do I get a line
Edit1->TextLine[1] = L"new line";
|
69
|
How do I get the number of lines in the control
long var_Count = Edit1->Count;
|
68
|
How do I get the point where the selection starts
![](images/exeditq68.png)
Edit1->SelStart = 4;
Edit1->SelLength = 10;
Edit1->HideSelection = false;
|
67
|
How do I get the number of selected characters
![](images/exeditq67.png)
Edit1->SelLength = 10;
Edit1->HideSelection = false;
|
66
|
How can I get the selected text
Edit1->SelLength = 10;
String var_SelText = Edit1->SelText;
|
65
|
How can I replace the selected text
![](images/exeditq65.png)
Edit1->SelLength = 10;
Edit1->SelText = L"-new selection-";
|
64
|
How can I avoid changing the colors for keywords or expressions
![](images/exeditq64.png)
Edit1->ApplyColors = false;
Edit1->AddKeyword(L"<fgcolor=FF0000><b>class</b></fgcolor>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
|
63
|
How can I display HTML text
![](images/exeditq63.png)
Edit1->EditType = Exeditlib_tlb::EditTypeEnum::exHTML;
Edit1->Text = L"<b>just a HTML text</b>\\r\\nnew <s>line</s>";
|
62
|
How can I use it a a simple edit control, without highlighting
![](images/exeditq62.png)
Edit1->EditType = Exeditlib_tlb::EditTypeEnum::exStandard;
|
57
|
How can I display only a single line
Edit1->MultiLine = false;
|
56
|
How can I disable displaying multiple lines
Edit1->MultiLine = false;
|
55
|
How can change the color for selected text
![](images/exeditq55.png)
Edit1->HideSelection = false;
Edit1->SelLength = 10;
Edit1->SelBackColor = RGB(255,0,0);
|
54
|
How can change the color for selected text
![](images/exeditq54.png)
Edit1->HideSelection = false;
Edit1->SelLength = 10;
Edit1->SelForeColor = RGB(255,0,0);
|
53
|
How can I disable displaying the control's context menu
Edit1->AllowContextMenu = false;
|
52
|
Is there any option to hide the caret or the cursor
Edit1->ShowCaret = false;
|
51
|
How can still display the selected text when the control loses the focus
![](images/exeditq51.png)
Edit1->HideSelection = false;
Edit1->SelLength = 10;
|
50
|
How can I disable adding new TAB characters when the user enters a new line
Edit1->AutoIndent = false;
|
49
|
How can I disable using the Tab key
Edit1->UseTabKey = false;
|
48
|
How can I hide the number of each line
Edit1->LineNumberWidth = 0;
|
47
|
How can I display or show the number of each line
![](images/exeditq47.png)
Edit1->LineNumberWidth = 32;
|
46
|
How can I clear the text
|
45
|
How can I specify the text being displayed in the control
![](images/exeditq45.png)
Edit1->Text = L"new line\\r\\nnew line";
|
44
|
How can I hide the bookmark border
Edit1->BookmarkWidth = 0;
|
43
|
How can I show the bookmark border
![](images/exeditq43.png)
Edit1->BookmarkWidth = 16;
|
42
|
How do I lock the control
![](images/exeditq42.png)
Edit1->Locked = true;
|
41
|
How do I disable or enable the control
|
40
|
How can I change the visual appearance of the splitter
![](images/exeditq40.png)
Edit1->AllowSplitter = Exeditlib_tlb::SplitterEnum::exBothSplitter;
Edit1->SplitPaneWidth = 128;
Edit1->SplitPaneHeight = 128;
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSplitterApp] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSplitterApp] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exISplitterApp] = 0x2000000;
|
39
|
How can I change the visual appearance of the vertical splitter
![](images/exeditq39.png)
Edit1->AllowSplitter = Exeditlib_tlb::SplitterEnum::exBothSplitter;
Edit1->SplitPaneWidth = 128;
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSplitterApp] = 0x1000000;
|
38
|
How can I change the visual appearance of the horizontal splitter
![](images/exeditq38.png)
Edit1->AllowSplitter = Exeditlib_tlb::SplitterEnum::exBothSplitter;
Edit1->SplitPaneHeight = 128;
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSplitterApp] = 0x1000000;
|
37
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN
![](images/exeditq37.png)
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Edit1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSThumb] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSThumbP] = 0x2000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSThumbH] = 0x3000000;
|
36
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN
![](images/exeditq36.png)
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Edit1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumb] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumbP] = 0x2000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSThumbH] = 0x3000000;
Edit1->ScrollThumbSize[Exeditlib_tlb::ScrollBarEnum::exHScroll] = 96;
|
35
|
I've seen that you can change the visual appearance for the scroll bar. How can I do that
![](images/exeditq35.png)
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->VisualAppearance->Add(2,TVariant("c:\\exontrol\\images\\pushed.ebn"));
Edit1->VisualAppearance->Add(3,TVariant("c:\\exontrol\\images\\hot.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exSBtn] = 0x1000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exSBtnP] = 0x2000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exSBtnH] = 0x3000000;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exHSBack] = RGB(240,240,240);
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exVSBack] = RGB(240,240,240);
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exSizeGrip] = RGB(240,240,240);
|
34
|
Can I change the forecolor for the tooltip
![](images/exeditq34.png)
Edit1->ToolTipDelay = 1;
Edit1->ToolTipWidth = 364;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exToolTipForeColor] = RGB(255,0,0);
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
|
33
|
Can I change the background color for the tooltip
![](images/exeditq33.png)
Edit1->ToolTipDelay = 1;
Edit1->ToolTipWidth = 364;
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exToolTipBackColor] = RGB(255,0,0);
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
|
32
|
Can I change the default border of the tooltip, using your EBN files
![](images/exeditq32.png)
Edit1->ToolTipDelay = 1;
Edit1->ToolTipWidth = 364;
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->Background[Exeditlib_tlb::BackgroundPartEnum::exToolTipAppearance] = 0x1000000;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
|
31
|
How do I call your x-script language
![](images/exeditq31.png)
Edit1->ExecuteTemplate(L"BackColor = RGB(255,0,0)");
|
30
|
How do I call your x-script language
![](images/exeditq30.png)
Edit1->Template = L"BackColor = RGB(255,0,0)";
|
29
|
Can I change the font for the tooltip
![](images/exeditq29.png)
Edit1->ToolTipDelay = 1;
/*
Select the Component\Import Component...\Import a Type Library,
to import the following Type Library:
OLE Automation
TypeLib: stdole2.tlb
to define the namespace: Stdole_tlb
*/
//#include "STDOLE_TLB.h"
Stdole_tlb::FontPtr var_StdFont = Edit1->ToolTipFont;
var_StdFont->Name = L"Tahoma";
var_StdFont->Size = TVariant(long(14));
Edit1->ToolTipWidth = 364;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
|
28
|
I've seen that the width of the tooltip is variable. Can I make it larger
![](images/exeditq28.png)
Edit1->ToolTipWidth = 328;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
|
27
|
How do I let the tooltip being displayed longer
![](images/exeditq27.png)
Edit1->ToolTipPopDelay = 10000;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
|
26
|
How do I disable showing the tooltip for all control
Edit1->ToolTipDelay = 0;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
|
25
|
How do I show the tooltip quicker
![](images/exeditq25.png)
Edit1->ToolTipDelay = 1;
Edit1->AddKeyword(L"<b>class</b>",TVariant("this is a bit of text that's shown when the cursor hovers the <b>class</b> keyword."),TVariant("exontrol.edit"),TNoParam());
Edit1->Refresh();
|
24
|
Can I change the order of the buttons in the scroll bar
![](images/exeditq24.png)
Edit1->ScrollOrderParts[Exeditlib_tlb::ScrollBarEnum::exHScroll] = L"t,l,r";
Edit1->ScrollOrderParts[Exeditlib_tlb::ScrollBarEnum::exVScroll] = L"t,l,r";
|
23
|
The thumb size seems to be very small. Can I make it bigger
![](images/exeditq23.png)
Edit1->ScrollThumbSize[Exeditlib_tlb::ScrollBarEnum::exHScroll] = 164;
|
22
|
How do I enlarge or change the size of the control's scrollbars
![](images/exeditq22.png)
Edit1->ScrollHeight = 18;
Edit1->ScrollWidth = 18;
Edit1->ScrollButtonWidth = 18;
Edit1->ScrollButtonHeight = 18;
|
21
|
How can I display my text on the scroll bar, using a different font
![](images/exeditq21.png)
Edit1->ScrollPartCaption[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exThumbPart] = L"This is just a text";
Edit1->ScrollFont[Exeditlib_tlb::ScrollBarEnum::exHScroll]->Size = TVariant(long(12));
Edit1->ScrollThumbSize[Exeditlib_tlb::ScrollBarEnum::exHScroll] = 128;
Edit1->ScrollHeight = 24;
Edit1->ScrollPartCaption[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exThumbPart] = L"This is <s><font Tahoma;12> just </font></s> text";
Edit1->ScrollHeight = 20;
|
20
|
How can I display my text on the scroll bar
![](images/exeditq20.png)
Edit1->ScrollPartCaption[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exThumbPart] = L"this is just a text";
Edit1->ScrollThumbSize[Exeditlib_tlb::ScrollBarEnum::exHScroll] = 96;
|
19
|
How do I assign a tooltip to a scrollbar
![](images/exeditq19.png)
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->ScrollToolTip[Exeditlib_tlb::ScrollBarEnum::exHScroll] = L"This is a <img>0x1000000</img>tooltip being shown when you click and drag the thumb in the horizontal scroll bar";
|
18
|
How do I assign an icon to the button in the scrollbar
![](images/exeditq18.png)
Edit1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Edit1->ScrollPartCaption[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB1Part] = L"<img>1</img>";
Edit1->ScrollHeight = 18;
Edit1->ScrollButtonWidth = 18;
|
17
|
I need to add a button in the scroll bar. Is this possible
![](images/exeditq17.png)
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Edit1->ScrollPartCaption[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB1Part] = L"1";
|
16
|
Can I display an additional buttons in the scroll bar
![](images/exeditq16.png)
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB1Part] = true;
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exLeftB2Part] = true;
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exRightB6Part] = true;
Edit1->ScrollPartVisible[Exeditlib_tlb::ScrollBarEnum::exHScroll,Exeditlib_tlb::ScrollPartEnum::exRightB5Part] = true;
|
15
|
How do I change the control's foreground color
![](images/exeditq15.png)
Edit1->ForeColor = RGB(255,0,0);
|
14
|
How do I change the control's background color
![](images/exeditq14.png)
Edit1->BackColor = RGB(200,200,200);
|
13
|
How can I change the control's font
![](images/exeditq13.png)
Edit1->Font->Name = L"Verdana";
|
12
|
How do I put a picture on the center of the control
![](images/exeditq12.png)
Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exMiddleCenter;
|
11
|
How do I resize/stretch a picture on the control's background
![](images/exeditq11.png)
Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exStretch;
|
10
|
How do I put a picture on the control's center right bottom side
![](images/exeditq10.png)
Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exLowerRight;
|
9
|
How do I put a picture on the control's center left bottom side
![](images/exeditq9.png)
Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exLowerLeft;
|
8
|
How do I put a picture on the control's center top side
![](images/exeditq8.png)
Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exUpperCenter;
|
7
|
How do I put a picture on the control's right top corner
![](images/exeditq7.png)
Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exUpperRight;
|
6
|
How do I put a picture on the control's left top corner
![](images/exeditq6.png)
Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
Edit1->PictureDisplay = Exeditlib_tlb::PictureDisplayEnum::exUpperLeft;
|
5
|
How do I put a picture on the control's background
![](images/exeditq5.png)
Edit1->Picture = (IPictureDisp*)(Edit1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
|
4
|
How do I change the control's border, using your EBN files
![](images/exeditq4.png)
Edit1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Edit1->Appearance = Exeditlib_tlb::AppearanceEnum(0x1000000);
|
3
|
How do I remove the control's border
![](images/exeditq3.png)
Edit1->Appearance = Exeditlib_tlb::AppearanceEnum::exNone;
|
2
|
How can I add a line
![](images/exeditq2.png)
Edit1->InsertText(L" - insert the line as the last - \\r\\n",TNoParam());
|
1
|
How can I insert a line
![](images/exeditq1.png)
Edit1->InsertText(L" - insert the line as the first - \\r\\n",TVariant(1));
|